package com.lc.email.config;

import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.stereotype.Component;

/**
 * @author liuc
 * @date 2021/6/29
 * @description
 **/
@Data
@Component
@ConfigurationProperties("spring.mail")
public class EmailProperties {
    private String host;
    private int port;
    private String username;
    private String password;
    private String defaultEncoding;

}
